{include file="common/head"/}
<link rel="stylesheet" href="/static/treeview/jquery.treeview.css" />
<link rel="stylesheet" href="/static/treeview/red-treeview.css" />
<link rel="stylesheet" href="/static/treeview/screen.css" />
<link rel="stylesheet" type="text/css" href="/static/css/button.css" />
<script src="/static/treeview/lib/jquery.js" type="text/javascript"></script>
<script src="/static/treeview/jquery.treeview.js" type="text/javascript"></script>

<script type="text/javascript">
    $(function() {
        $("#tree").treeview({
            collapsed: true,
            animated: "medium",
            control:"#sidetreecontrol",
            persist: "location"
        });
    })

</script>

<div class="section2x mui-clearfix">
    <div id="sidetreecontrol"><a href="?#"><br />
        全部关闭</a> | <a href="?#">全部展开</a><br />
        <br />
    </div>
    <ul id="tree">
        <li><strong><?=$user['mobile']?></strong>
            <?php
			echo tree($user['id']);
		?>
        </li>
    </ul>
</div>
{include file="common/foot"/}
</body>
</html>